<?php

require_once ('Zend/Controller/Action.php');
require_once ('Gpc/User.php');

class LogoutController extends Zend_Controller_Action {
   
   public function indexAction() {
      //$page = $this->getRequest()->getParam('referrer');

      $config = Zend_Registry::get('config');

      $user = Gpc_User::factory($config->forum->software);
      $user->logout();
   }
}
